package com.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface GroupJoinMapper {

    @Insert("INSERT INTO group_join(user_id, activity_id, join_time) VALUES(#{userId}, #{activityId}, NOW())")
    void insert(Long userId, Long activityId);
}